import { http } from "@/plugin/http";

// race
export const getRace = async () => {
  try {
    return await http.post<API.Race.RaceResp>("/event/race");
  } catch (error) {
    return null;
  }
};
